package com.wsk.bean;

import lombok.Data;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import lombok.experimental.Accessors;
import lombok.extern.java.Log;

import java.util.List;

/**
 * Created by wsk1103 on 2017/9/17.
 */
@Data
@Accessors(chain = true)
@RequiredArgsConstructor(staticName = "of")
@Log
public class User {
    @NonNull
    private String username;
    @NonNull
    private String password;
    private List<UserPermission> lists;
}
